package com.example.ntweixin.service;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import com.example.ntweixin.entity.WeixinJsapiTicketLog;
import com.example.ntweixin.dao.WeixinJsapiTicketLogDao;

@Service
public class WeixinJsapiTicketLogService{

    @Resource
    private WeixinJsapiTicketLogDao weixinJsapiTicketLogDao;

    public int insert(WeixinJsapiTicketLog pojo){
        return weixinJsapiTicketLogDao.insert(pojo);
    }

    public int insertSelective(WeixinJsapiTicketLog pojo){
        return weixinJsapiTicketLogDao.insertSelective(pojo);
    }

    public int insertList(List<WeixinJsapiTicketLog> pojos){
        return weixinJsapiTicketLogDao.insertList(pojos);
    }

    public int update(WeixinJsapiTicketLog pojo){
        return weixinJsapiTicketLogDao.update(pojo);
    }
}
